﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Entity {
    public Entity()
    {
        identify = new Identify();
        position = new Position();
        render = new Render();
        cmd = new Commands(10);

        movement = new Movement
        {
            lineSpeed = 25
        };

        targetRotationMovement = new TargetRotationMovement
        {
            rotaionSpeed = 7
        };

        collider = new ColliderBody
        {
            radius = 200
        };

        scale = new BodyScale
        {
            level = 1,
        };
    }
    public Identify identify;
    public Position position;
    public Movement movement;
    public RotationMovement rotationMovement;
    public TargetRotationMovement targetRotationMovement;
    public Render render;
    public Commands cmd;
    public ColliderBody collider;
    public BodyScale scale;
    public PushMe push;
}
